﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Methods;

namespace _1._1._9._02._01.TestGetMaxMethod
{
    [TestClass]
    public class TestGetMaxMethod
    {
        [TestMethod]
        public void GetMaxFrom2And3()
        {
            int firstTest = GetMaxMethod.GetMax(3, 2);
            Assert.AreEqual(3, firstTest);
        }
        [TestMethod]
        public void GetMaxFrom5And3()
        {
            int firstTest = GetMaxMethod.GetMax(5, 3);
            Assert.AreEqual(5, firstTest);
        }
        public void TestBetwenEqualValues()
        {
            int firstTest = GetMaxMethod.GetMax(2, 2);
            Assert.AreEqual(2, firstTest);
        }
    }
}
